import { AppstoreOutlined, ShopOutlined, InteractionOutlined, NotificationOutlined, AppstoreAddOutlined } from '@ant-design/icons'
import wxpage1 from './components/image/wxpage1.png'
import wxpage2 from './components/image/wxpage2.png'
import wxpage3 from './components/image/wxpage3.png'
import wxpage4 from './components/image/wxpage4.png'
import wxpage5 from './components/image/wxpage5.png'
import wxpage6 from './components/image/wxpage6.png'
import wxpage7 from './components/image/wxpage7.png'
import wxpage8 from './components/image/wxpage8.png'
import wxpage9 from './components/image/wxpage9.png'
import wxpage10 from './components/image/wxpage10.png'
import wxpage11 from './components/image/wxpage11.png'
import wxpage12 from './components/image/wxpage12.png'
export const configList = [
    {
        label: "基础组件",
        icon: <AppstoreOutlined></AppstoreOutlined>,
        value: 'jc',
        children: [
            {
                label: "轮播图",
                dataIndex: 'swiperProps',
                icon: wxpage1,
            },
            {
                label: "图文导航",
                dataIndex: 'navigationProps',
                icon: wxpage2,
            },
            {
                label: "搜索",
                dataIndex: 'searchProps',
                icon: wxpage3,
            },
            {
                label: "图片广告",
                dataIndex: 'displayAdvertisingProps',
                icon: wxpage4,
            },
            {
                label: "富文本",
                dataIndex: 'richTextProps',
                icon: wxpage5,
            },
            {
                label: "公告",
                dataIndex: 'announcementProps',
                icon: wxpage7,
            },
            {
                label: "音频",
                dataIndex: 'audioProps',
                icon: wxpage6,
            },
            {
                label: "视频",
                dataIndex: 'videoProps',
                icon: wxpage8,
            },
        ]
    },
    {
        label: "商品组件",
        icon: <ShopOutlined></ShopOutlined>,
        value: 'sp',
        children: [
            {
                label: "商品",
                dataIndex: 'shopProps',
                icon: wxpage10,
            },
        ]
    },
    {
        label: "助学工具",
        icon: <InteractionOutlined></InteractionOutlined>,
        value: 'zx',
        children: [
            {
                label: "表单",
                dataIndex: 'formProps',
                icon: wxpage9,
            },
        ]
    },
    {
        label: "营销组件",
        icon: <NotificationOutlined></NotificationOutlined>,
        value: 'yx',
        children: [
            {
                label: "限时团购",
                dataIndex: "secondKillProps",
                icon: wxpage12,
            },
        ]
    },
    {
        label: "其他组件",
        icon: <AppstoreAddOutlined></AppstoreAddOutlined>,
        value: 'qt',
        children: [
            {
                label: "关注公众号",
                dataIndex: 'contactCustomerProps',
                icon: wxpage11,
            },
        ]
    }
]